void npc(Player @player, NPC @npc) {
int state = npc.getState();
if (state == 0) {
npc.addText("Here you are, right in front of the hideout! What? You want to return to Showa Town?");
npc.sendYesNo();
}
else if (state == 1) {
if (npc.getSelected() == YES) {
player.changeMap(801000000);
} else {
npc.addText("If you want to return to Showa Town, then talk to me.");
npc.sendOK();
}
npc.end();
}
}